<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>仓库管理</title>
    <%@ include file="common.jsp"%>
    <script type="text/javascript" src="/static/js/depot.js"></script>
</head>
<body>
    <table id="depot_datagrid"></table>

    <div id="depot_toolbar">
        <a class="easyui-linkbutton" iconCls="icon-add" data-method="add" plain="true">新增</a>
        <a class="easyui-linkbutton" iconCls="icon-edit" data-method="edit" plain="true">编辑</a>
        <a class="easyui-linkbutton" iconCls="icon-remove" data-method="changeState" plain="true" id="changeState_btn">启用/暂停仓库</a>
        <a class="easyui-linkbutton" iconCls="icon-reload" data-method="reload" plain="true" >刷新</a>
    </div>


    <div id="depot_dialog" style="margin-top: 15px">
        <form method="post" id="depot_form">
            <table align="center">
                <tr>
                    <td>
                        <input name="id" type="hidden" class="easyui-textbox" />
                    </td>
                </tr>
                <tr>
                    <td>仓库名称</td>
                    <td><input class="easyui-textbox" name="name" data-options="required:true"/></td>
                </tr>
                <tr>
                    <td>仓库编码</td>
                    <td><input class="easyui-textbox" name="sn" data-options="required:true"/></td>
                </tr>
                <tr>
                    <td>联系电话</td>
                    <td><input class="easyui-textbox" name="phone"/></td>
                </tr>
                <tr>
                    <td>仓库地址</td>
                    <td><input class="easyui-textbox" name="address"/></td>
                </tr>
            </table>
        </form>
    </div>
</body>
</html>
